package com.lz.behavior.vistor;

import org.apache.commons.lang3.RandomUtils;

/**
 * Manager..
 *
 * @author Lizhong
 * @date 2019/9/27
 */
public class Manager extends Company {
    public Manager(String name) {
        super(name);
    }

    @Override
    void accept(Vistor vistor) {
        vistor.visit(this);
    }
    public int getProduct(){
           return RandomUtils.nextInt(1,100);
    }
}
